<?php
class smarty_ext_plugins {

	function smarty_ext_plugins() {
		global $setupdata, $mysqlclass, $pluginsclass;
		$this->setupdata=$setupdata;
		$this->mysqlclass=$mysqlclass;
		$this->pluginsclass=$pluginsclass;
	}

	function get_all_plugins(){
		return $this->pluginsclass->get_all_plugins();
	}
	
	function get_plugin_discribe($params){
		if ((isset($params['plugin']) && (strlen($params['plugin']) > 0))){
			return $this->pluginsclass->get_plugin_discribe($params['plugin']);
		}
	}

}
?>